import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: () => import('@/views/Login.vue'),
    },
    {
      path: '/course/all',
      name: 'CourseAll',
      component: () => import('@/views/course/All.vue'),
    },
    {
      path: '/course/primary',
      name: 'CoursePrimary',
      component: () => import('@/views/course/Primary.vue'),
    },
    {
      path: '/course/middle',
      name: 'CourseMiddle',
      component: () => import('@/views/course/Middle.vue'),
    },
    {
      path: '/course/high',
      name: 'CourseHigh',
      component: () => import('@/views/course/High.vue'),
    },
  ],

});
